/* LamGame Homepage Modern Styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #fdcb6e;
    --text-color: #2d3436;
    --muted-color: #636e72;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #e17055;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e6ed;
}

/* Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-100px) translateX(50px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102,126,234,0.8) 0%, rgba(118,75,162,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffeaa7;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253,203,110,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-unity {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-unreal {
    top: 20%;
    right: 5%;
    animation-delay: -2s;
}

.floating-card.card-code {
    bottom: 15%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-weight: 600;
    color: #2d3436;
    font-size: 0.9rem;
}

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Courses Section */
.courses-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.course-card.featured {
    border: 2px solid #fdcb6e;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1rem 1rem;
}

.course-level {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
}

.course-description {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.course-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #636e72;
}

.feature i {
    color: #667eea;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #b2bec3;
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e17055;
}

.course-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.courses-cta {
    text-align: center;
    margin-top: 3rem;
}

.courses-cta p {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #f8f9fa;
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.benefit-content .muted {
    color: #636e72;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-main-image {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        width: 100%;
        height: 200px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Success Stories Section */
.success-section {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4f8 100%);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-info h4 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-info p {
    margin: 0;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0;
}

.testimonial-rating {
    margin-top: 20px;
    text-align: right;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}

/* Job Opportunities Section */
.job-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.job-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.job-section .section-title,
.job-section .section-subtitle {
    color: white;
}

.job-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.job-stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.job-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.job-stat-card .stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.job-stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.job-stat-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-section h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Contact Section */
/* ===== Contact Section ===== */
.ct-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.ct-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* Form box */
.ct-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.ct-form-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
}
.ct-form-box__sub {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.ct-form__field {
    margin-bottom: 1rem;
}
.ct-form__field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}
.ct-form__field label span { color: #ef4444; }
.ct-form__field input,
.ct-form__field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.ct-form__field input:focus,
.ct-form__field textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.ct-form__field textarea { resize: vertical; min-height: 80px; }

.ct-form__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    min-height: 44px;
}
.ct-form__btn:hover {
    background: #334155;
    transform: translateY(-1px);
}

/* Info sidebar */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ct-info__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.ct-info__item > i {
    color: #667eea;
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.ct-info__item strong {
    display: block;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 0.15rem;
}
.ct-info__item p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.ct-info__item a {
    color: #667eea;
    text-decoration: none;
}
.ct-info__item a:hover { text-decoration: underline; }

.ct-info__social {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
}
.ct-info__social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.ct-info__social a:hover {
    background: #667eea;
    color: #fff;
}

@media (max-width: 768px) {
    .ct-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ct-form-box { padding: 1.5rem; }
    .ct-form__row { grid-template-columns: 1fr; }
    .ct-form__btn { width: 100%; justify-content: center; }
}

/* New responsive styles */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .job-stat-card .stat-icon {
        font-size: 36px;
    }
    
    .job-stat-card h3 {
        font-size: 24px;
    }
    
    .success-section,
    .job-section {
        padding: 60px 0;
    }
}
