/* ======== GLOBAL STYLES ======== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Main colours will be set by the gradient */
    --text-light: #ffffff;
    --text-dark: #333;
    --blur-effect: blur(15px);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    
    /* === THE ANIMATED GRADIENT BACKGROUND === */
    background: linear-gradient(135deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    min-height: 100vh;
}

/* Keyframes for the background animation */
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== HEADER (Glassmorphism) ======== */
header {
    /* Frosted glass effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center nav against logo block */
}

/* ======== LOGO AND SLOGAN STYLES ======== */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns logo/slogan to the left */
}

.logo {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1.2; /* Tighter line height */
}

.slogan {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: -2px; /* Pulls it closer to the logo */
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* ============================================== */


nav ul { list-style: none; display: flex; align-items: center; }
nav li { margin-left: 30px; }
nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a.active {
    font-weight: 700;
    /* A subtle indicator for the active page */
    background: rgba(255, 255, 255, 0.2);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Special "Swizzin" button with a glow */
nav a.nav-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

nav a.nav-button:hover {
    background: white;
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ======== HERO SECTION ======== */
.hero {
    text-align: center;
    /* Added more bottom padding to fit the new box */
    padding: 120px 20px 120px 20px; 
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-light);
    color: #e73c7e; /* Pulls one of the gradient colours */
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ======== COUNTDOWN TIMER STYLES ======== */
.countdown-timer {
    /* Glassmorphism card for the timer */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* New styles to position it in the hero */
    margin-top: 60px; /* Space from the button */
    max-width: 700px; /* Constrain its width */
    margin-left: auto;
    margin-right: auto;
    
    /* Added the animation */
    animation: fadeIn 1s ease-out 0.25s;
    animation-fill-mode: backwards;
}

.countdown-timer h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#timer-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allows it to wrap on small screens */
}

.time-block {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
}

.time-block span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.time-block p {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ======== "Glass" LINKS SECTION (Homepage bottom cards) ======== */
.links-section {
    padding: 40px 0 80px 0;
    /* Delayed this animation slightly */
    animation: fadeIn 1s ease-out 0.75s; 
    animation-fill-mode: backwards;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-card {
    /* The Glassmorphism Card */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    
    color: var(--text-light);
    padding: 35px;
    text-decoration: none;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

/* Icon Style */
.link-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    /* Make the icon a duotone colour */
    color: rgba(255, 255, 255, 0.7);
}

.link-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.link-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ======== FOOTER ======== */
footer {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======== ROLLED-BACK FOOTER STYLES ======== */
footer p {
    margin: 5px 0; /* Adds a little spacing between copyright and new link */
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* ======== FADE-IN ANIMATION ======== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== RESPONSIVE STYLES ======== */
@media (max-width: 900px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container { 
        flex-direction: column; 
        gap: 15px; 
    }

    /* Center logo wrapper on mobile */
    .logo-wrapper {
        align-items: center;
    }

    nav ul { flex-direction: column; width: 100%; gap: 10px; }
    nav li { margin-left: 0; width: 100%; text-align: center; }
    nav a { display: block; padding: 10px; }
    .hero h1 { font-size: 2.8rem; }
    .countdown-timer { padding: 20px; margin-top: 40px;}
    .countdown-timer h2 { font-size: 1.5rem; }
    .time-block { min-width: 80px; padding: 15px; }
    .time-block span { font-size: 2rem; }

    /* For Link Bubbles on small screens */
    .link-list {
        grid-template-columns: 1fr; /* Stack vertically */
    }
    .list-link-bubble {
        padding: 15px 20px; /* Slightly smaller padding */
    }
    .list-link-bubble i {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    /* Footer on mobile */
    footer .container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    footer p {
        margin: 0;
    }
}

/* ======== STYLES FOR "ABOUT" PAGE ======== */

/* This is the main wrapper for content pages */
.content-page {
    padding: 80px 0;
    animation: fadeIn 1.5s ease-out;
}

/* A generic glass box for holding text content */
.glass-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.glass-box h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.glass-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}


/* ======== STYLES FOR "ROCK GALLERY" ======== */

.rock-gallery {
    display: grid;
    /* Creates 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    margin-top: 30px;
}

.rock-item {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.rock-item:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.rock-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Prevents image from being stretched */
    object-fit: cover; 
    aspect-ratio: 1 / 1; /* Makes images square */
}

.rock-item p {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
    opacity: 1;
}

/* Responsive styles for the gallery */
@media (max-width: 900px) {
    .rock-gallery {
        /* 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .rock-gallery {
        /* 1 column on mobile */
        grid-template-columns: 1fr;
    }
}


/* ======== STYLES FOR "LINKS" PAGE BUBBLE BUTTONS ======== */

.link-list {
    display: grid; /* Changed to grid for better control of bubbles */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between bubbles */
    margin-top: 30px;
}

.list-link-bubble {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Make it a bubble shape */
    padding: 18px 25px; /* Adjust padding for bubble look */
    
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center; /* Ensure text is centered */
    
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.list-link-bubble:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.list-link-bubble span {
    display: flex; /* Keep icon and text aligned */
    align-items: center;
}

.list-link-bubble i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 25px; /* Ensures text aligns