/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Background */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: white;
    min-height: 100vh;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Grid Layout */
.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px;
}

/* Cards */
.card {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

/* Background Images */
.wow-card {
    background-image: url("wow.png");
}

.sports-card {
    background-image: url("sports.png");
}

.blog-card {
    background-image: url("blog.png");
}

/* Dark Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);

    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay h2 {
    font-size: 2rem;
    text-align: center;
    text-shadow: 2px 2px 5px black;
}
/* Navigation */
nav {
    margin-top: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

nav a:hover {
    color: #ffcc00;
}

/* WoW Page */
.wow-page {
    background: #080808;
}

/* Resource Link Section */
.link-section,
.guide-section {
    padding: 30px;
    text-align: center;
}

.link-section h2,
.guide-section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.button-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.button-links a {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
}

.button-links a:hover {
    background: rgba(255,204,0,0.25);
}

/* Warlock Guide Cards */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.guide-card {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.guide-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* Guide Background Images */
.affliction-card {
    background-image: url("affliction.png");
}

.demonology-card {
    background-image: url("demonology.png");
}

.destruction-card {
    background-image: url("destruction.png");
}
/* Sports Page */
.sports-page {
    background: #101010;
    color: white;
}

/* Dashboard Section */
.sports-dashboard {
    margin: 20px;
    padding: 15px;
    background: rgba(0,0,0,.65);
    border-radius: 15px;
    text-align: center;
}

.sports-dashboard h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
}

#refreshBanner {
    font-size: .9rem;
    color: #cccccc;
    margin-bottom: 15px;
}

/* Shorter Dashboard Cards */
#scoreboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: start;
}

.dashboard-card {
    background: rgba(255,255,255,.1);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    min-height: 230px;
    max-height: 330px;
    overflow: hidden;
}

.dashboard-card h3 {
    font-size: 1rem;
    margin: 6px 0;
}

.dashboard-card h2 {
    font-size: 1.2rem;
    margin: 6px 0;
}

.dashboard-card p {
    font-size: .8rem;
    margin: 4px 0;
}

.dashboard-card small {
    font-size: .7rem;
    color: #cccccc;
}

.dashboard-card hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,.25);
}

/* Smaller Logos */
.team-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 4px;
}

.score-label {
    color: gold;
    font-weight: bold;
}

.record {
    color: #dddddd;
}

.matchup {
    font-weight: bold;
}

.game-status {
    color: #cccccc;
}

/* Standings */
.standings-section {
    margin: 20px;
    padding: 15px;
    background: rgba(0,0,0,.65);
    border-radius: 15px;
    text-align: center;
}

.standings-tabs {
    margin-bottom: 15px;
}

.standings-tabs button {
    margin: 5px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,.15);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.standings-tabs button:hover {
    background: rgba(255,204,0,.35);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.standings-table th,
.standings-table td {
    border: 1px solid rgba(255,255,255,.25);
    padding: 8px;
    font-size: .9rem;
}

.standings-table th {
    background: rgba(255,255,255,.15);
}

/* Team Image Cards */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    padding: 25px;
}

.team-card {
    height: 275px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

.team-overlay {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.team-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.team-overlay a {
    color: white;
    text-decoration: none;
    background: rgba(0,0,0,0.65);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: bold;
}

.team-overlay a:hover {
    background: rgba(255,204,0,0.35);
}

/* Team Background Images */
.gb-card {
    background-image: url("gb.png");
}

.bos-card {
    background-image: url("bos.png");
}

.mot-card {
    background-image: url("mot.png");
}

.stlc-card {
    background-image: url("stlc.png");
}

.uncb-card {
    background-image: url("uncb.png");
}

.stlb-card {
    background-image: url("stlb.png");
}

.fla-card {
    background-image: url("pla.png");
}

.blues-card {
    background-image: url("blues.png");
}
/* Blog Listing Page */

.blog-page {
    background-image: url("blogbackground.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.blog-entry {
    display: block;

    text-decoration: none;
    color: white;

    background: rgba(0,0,0,0.80);

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 15px;

    padding: 25px;

    margin-bottom: 20px;

    transition: all 0.3s ease;

    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.blog-entry:hover {
    transform: translateY(-3px);

    border-color: #ffcc00;

    box-shadow:
        0 0 15px rgba(255,204,0,0.25),
        0 0 25px rgba(255,204,0,0.15);

    background: rgba(0,0,0,0.90);
}

.blog-date {
    color: #cccccc;
    font-size: .9rem;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffcc00;
}
/* Blog Listing Page: blog.html */
.blog-page {
    background-image: url("blogbackground.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.blog-entry {
    display: block;
    text-decoration: none;
    color: white;
    background: rgba(0,0,0,0.80);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.blog-entry:hover {
    transform: translateY(-3px);
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255,204,0,0.25);
    background: rgba(0,0,0,0.90);
}

.blog-date {
    color: #cccccc;
    font-size: .9rem;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffcc00;
}


/* Individual Blog Post Pages: files inside blogs folder */
.blog-post-page {
    background-image: url("../blogbackground.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.post-wrapper {
    max-width: 1500px;
    margin: 40px auto;
    padding: 20px;
}

.blog-post {
    background: rgba(0,0,0,0.85);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 0 25px rgba(0,0,0,.7),
                0 0 50px rgba(255,204,0,.15);
}

.blog-post h2 {
    font-size: 3rem;
    color: #ffcc00;
    text-shadow: 0 0 15px rgba(255,204,0,.5);
    margin-bottom: 20px;
}

.post-date {
    display: inline-block;
    background: rgba(255,204,0,.15);
    border: 1px solid rgba(255,204,0,.5);
    color: #ffcc00;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.blog-post p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #eeeeee;
}

.blog-post hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.25);
    margin: 20px 0;
}

.back-button {
    display: inline-block;
    margin-top: 25px;
    color: white;
    background: rgba(255,204,0,0.25);
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255,204,0,0.5);
}

.back-button:hover {
    background: rgba(255,204,0,0.45);
}
/* Video Section */

.video-container {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

.video-container video {
    width: 100%;
    max-width: 1400px;

    min-height: 600px;

    background: #000;

    border-radius: 15px;

    border: 2px solid rgba(255,255,255,.2);

    box-shadow:
        0 0 15px rgba(0,0,0,.5),
        0 0 30px rgba(255,204,0,.15);
}

.blog-post h3 {
    color: #ffcc00;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}