/* Main CSS - Core styles for ZentoGame Quiz */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --hover-bg: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .section-title {
        color: var(--primary-color);
    }
}

.quiz-selection .section-title {
    color: white;
    background: linear-gradient(135deg, white, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 700;
}

.nav-logo a {
    color: inherit;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: #cbd5e1;
    position: relative;
}

.nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Hero Section with Modern Split Layout */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tech Grid */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 500px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tech-card span {
    font-weight: 600;
    font-size: 1rem;
}

/* Specific tech card colors */
.tech-card.html:hover {
    border-color: #e34c26;
}

.tech-card.css:hover {
    border-color: #1572b6;
}

.tech-card.js:hover {
    border-color: #f7df1e;
}

.tech-card.react:hover {
    border-color: #61dafb;
}

.tech-card.vue:hover {
    border-color: #4fc08d;
}

.tech-card.node:hover {
    border-color: #339933;
}

/* Hero Background Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 14s;
}

/* About Section with Irregular Cards */
.about {
    padding: 6rem 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-irregular-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 100px);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    min-height: 800px;
}

.irregular-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.irregular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.irregular-card:hover {
    transform: translateY(-8px) rotate(2deg) scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.irregular-card {
    animation: irregularPulse 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1.2s;
}

.card-3 {
    animation-delay: 2.4s;
}

.card-4 {
    animation-delay: 3.6s;
}

.card-5 {
    animation-delay: 4.8s;
}

.card-1 {
    grid-column: 1 / 6;
    grid-row: 1 / 4;
    transform: rotate(-1.5deg);
}

.card-2 {
    grid-column: 7 / 13;
    grid-row: 1 / 4;
    transform: rotate(1deg);
}

.card-3 {
    grid-column: 1 / 5;
    grid-row: 5 / 8;
    transform: rotate(1.5deg);
}

.card-4 {
    grid-column: 6 / 11;
    grid-row: 4 / 7;
    transform: rotate(-1deg);
}

.card-5 {
    grid-column: 3 / 9;
    grid-row: 7 / 10;
    transform: rotate(0.5deg);
}

/* About section specific card content styles */
.about .card-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.about .irregular-card .card-content h3 {
    color: #2563eb !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.about .irregular-card .card-content p {
    color: #0f172a !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    margin-bottom: 0 !important;
    display: block !important;
    visibility: visible !important;
}

/* Additional debugging styles for About section */
.about .irregular-card {
    background: rgba(255, 255, 255, 0.98) !important;
}

.about .card-content {
    background: transparent !important;
}

/* Quiz Selection with Modern Card Layout */
.quiz-selection {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.quiz-selection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.quiz-header {
    text-align: center;
    margin-bottom: 4rem;
}

.quiz-header .section-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quiz-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quiz-card:hover::before {
    opacity: 1;
}

.quiz-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.featured {
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    animation: float 15s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    bottom: -30px;
    left: -30px;
    animation-delay: 5s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -40px;
    animation-delay: 10s;
}

.quiz-card .card-header {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quiz-card .difficulty-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.quiz-card .difficulty-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.quiz-card .card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.question-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.quiz-card .card-content {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quiz-card .card-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.quiz-card .skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.quiz-card .skill-list li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.quiz-card .skill-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.quiz-card .card-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.quiz-card .quiz-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quiz-card .quiz-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.quiz-card .quiz-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.quiz-card .quiz-btn:hover svg {
    transform: translateX(3px);
}

/* Specific card styling */
.beginner-card:hover .difficulty-icon {
    background: rgba(34, 197, 94, 0.2);
}

.intermediate-card:hover .difficulty-icon {
    background: rgba(59, 130, 246, 0.2);
}

.advanced-card:hover .difficulty-icon {
    background: rgba(239, 68, 68, 0.2);
}

.beginner-btn:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    border-color: rgba(34, 197, 94, 0.3);
}

.intermediate-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    border-color: rgba(59, 130, 246, 0.3);
}

.advanced-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-color: rgba(239, 68, 68, 0.3);
}

/* Removed unused hexagon styles */

/* Removed duplicate card-header - using quiz-card specific version */

/* Removed unused difficulty-badge styles */

.card-content p {
    margin-bottom: 1.5rem;
}

/* Removed unused features list styles - not used in current design */

/* Removed unused btn-quiz styles */

/* Features Grid */
.features {
    padding: 6rem 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.close:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
    }

    .tech-card {
        padding: 1.5rem 1rem;
    }

    .quiz-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .quiz-card {
        padding: 1.5rem;
        min-height: 350px;
    }

    .quiz-card .card-header h3 {
        font-size: 1.3rem;
    }

    .quiz-card .difficulty-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .quiz-card .difficulty-icon svg {
        width: 24px;
        height: 24px;
    }

    .about-irregular-grid {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(12, 80px);
        gap: 1rem;
    }

    .card-1 {
        grid-column: 1 / 5;
        grid-row: 1 / 4;
    }

    .card-2 {
        grid-column: 5 / 9;
        grid-row: 1 / 4;
    }

    .card-3 {
        grid-column: 1 / 4;
        grid-row: 5 / 8;
    }

    .card-4 {
        grid-column: 4 / 8;
        grid-row: 4 / 7;
    }

    .card-5 {
        grid-column: 2 / 7;
        grid-row: 8 / 11;
    }
}

@media (max-width: 900px) {
    .quiz-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .quiz-card {
        padding: 1.3rem;
        min-height: 320px;
    }

    .quiz-card .card-header h3 {
        font-size: 1.25rem;
    }

    .quiz-card .card-content p {
        font-size: 0.9rem;
    }

    .quiz-card .skill-list li {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        height: 100vh;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
        max-width: 350px;
        margin: 0 auto;
    }

    .tech-card {
        padding: 1.5rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 120px;
        justify-content: center;
    }

    .tech-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }

    .tech-card h3 {
        margin: 0;
        font-size: 1rem;
    }

    /* Removed unused honeycomb-grid and hex-item styles */

    .about-irregular-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }

    .irregular-card {
        transform: none !important;
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
        max-width: 320px;
        width: 100%;
    }

    .tech-card {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 100px;
        justify-content: center;
    }

    .tech-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .tech-card h3 {
        margin: 0;
        font-size: 0.9rem;
    }

    .quiz-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .quiz-card {
        padding: 1.8rem 1.5rem;
        min-height: auto;
    }

    .quiz-card .card-header h3 {
        font-size: 1.4rem;
    }

    .quiz-card .difficulty-icon {
        width: 50px;
        height: 50px;
    }

    .quiz-card .difficulty-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Additional animations and styles */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 0.8;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.quiz-card {
    transition: all 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

/* Company info styles */
.company-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.company-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.company-info a:hover {
    text-decoration: underline;
}

/* Publisher Information Section */
.publisher-info {
    background: linear-gradient(135deg, var(--light-color), #f8fafc);
    padding: 6rem 0;
    margin-top: 4rem;
}

.publisher-content {
    max-width: 1200px;
    margin: 0 auto;
}

.publisher-header {
    text-align: center;
    margin-bottom: 4rem;
}

.publisher-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.publisher-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.publisher-main {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.publisher-main h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.publisher-main > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.publisher-highlights {
    display: grid;
    gap: 1.5rem;
}

.highlight-item {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.publisher-contact {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.publisher-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item span:not(.contact-label) {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .publisher-info {
        padding: 4rem 0;
        margin-top: 2rem;
    }

    .publisher-header h2 {
        font-size: 2rem;
    }

    .publisher-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .publisher-main,
    .publisher-contact {
        padding: 2rem;
    }

    .highlight-item {
        padding: 1.25rem;
    }
}