/* Basic Reset & Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; /* Using Inter font */
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); /* Dark gradient background */
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative; /* For absolute positioning of DVD logo */
}

/* DVD Bouncing Logo */
#dvd-logo {
    position: fixed;
    width: auto;
    height: 80px; /* Maintain aspect ratio */
    z-index: 1; /* Behind content */
    opacity: 0.7; /* More visible to see color changes */
    cursor: pointer; /* Show clickable cursor */
    pointer-events: auto; /* Enable clicking */
}

#dvd-logo:hover {
    opacity: 0.9; /* Slightly more visible on hover */
}

/* Responsive DVD logo size */
@media (max-width: 480px) {
    #dvd-logo {
        height: 50px;
    }
}

/* Main Container */
.main-container {
    max-width: 1200px;
    width: 95%; /* Responsive width */
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Space between sections */
    position: relative; /* Ensure content is above DVD logo */
    z-index: 2;
}

/* Header Section */
.header-section {
    text-align: center;
    padding: 20px 0;
}

.site-title {
    font-size: 3.5em; /* Large title */
    font-weight: 700;
    color: #007bff; /* Bright blue for branding */
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
    margin-bottom: 10px;
    border-radius: 12px; /* Rounded corners */
}

.tagline {
    font-size: 1.2em;
    font-weight: 400;
    color: #b0b0b0;
    margin-top: 0;
}

/* Content Section - Card Grid */
.content-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for cards */
    gap: 30px; /* Space between cards */
    width: 100%;
    max-width: 900px; /* Limit grid width */
    justify-content: center;
}

/* Interactive Card Style */
.interactive-card {
    background: #333333;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
    text-decoration: none; /* Remove underline from link */
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid #444; /* Subtle border */
    overflow: hidden; /* Ensures shadows and transforms are contained */
}

.interactive-card:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 123, 255, 0.5); /* Glowing shadow */
    background: #3a3a3a; /* Slightly lighter on hover */
}

.card-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff; /* Icon background */
    border-radius: 50%; /* Circular icon background */
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.card-description {
    font-size: 1em;
    color: #c0c0c0;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows description to take up available space */
}

.card-button {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient button */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px; /* Rounded corners */
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    font-weight: 600;
    outline: none; /* Remove outline on focus */
}

.card-button:hover {
    background: linear-gradient(45deg, #0056b3, #003d80); /* Darker gradient on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5);
}

.card-button:active {
    transform: translateY(0); /* Press effect */
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

/* Coming Soon card styling (optional) */
.interactive-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.interactive-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Keep original shadow */
    background: #333333; /* No background change on hover */
}

.interactive-card.coming-soon .card-button {
    background: #5a6268; /* Greyed out button */
    cursor: not-allowed;
    box-shadow: none;
}

.interactive-card.coming-soon .card-button:hover {
    background: #5a6268;
    transform: none;
    box-shadow: none;
}


/* Footer Section */
.footer-section {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #888;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.8em;
    }
    .tagline {
        font-size: 1.1em;
    }
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .interactive-card {
        padding: 25px;
    }
    .card-title {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 1em;
    }
    .card-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 15px;
    }
    .interactive-card {
        padding: 20px;
    }
    .card-title {
        font-size: 1.4em;
    }
    .card-description {
        font-size: 0.9em;
    }
}
