/* Yono 777 - Modern Gaming Platform Styles */
/* Optimized for Core Update June 2025 + Spam Update August 2025 */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 25%, #16a085 50%, #1abc9c 75%, #48c9b0 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background Gradient */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(39, 174, 96, 0.3); }
    50% { box-shadow: 0 0 40px rgba(39, 174, 96, 0.6), 0 0 60px rgba(39, 174, 96, 0.4); }
}

/* Slide In Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #27ae60 0%, #16a085 50%, #1abc9c 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    z-index: 999;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.05), transparent);
    animation: gradientShift 10s ease infinite;
    pointer-events: none;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #adb5bd;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.breadcrumb-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
    transition: left 0.5s;
}

.breadcrumb-item a:hover::before {
    left: 100%;
}

.breadcrumb-item a:hover {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(22, 160, 133, 0.1));
    color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.breadcrumb-current {
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(22, 160, 133, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.breadcrumb-icon {
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    animation: float 3s ease-in-out infinite;
}

.breadcrumb-current .breadcrumb-icon {
    animation: pulse 2s ease-in-out infinite;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 60px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-height: 40px;
    text-align: center;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #27ae60, #16a085, #1abc9c);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a085, #138d75, #1abc9c);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
    text-decoration: none;
    color: white;
    animation: glow 1.5s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    transition: left 0.5s;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    color: #27ae60;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
}

.btn-login {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    background: rgba(255,255,255,0.3);
    text-decoration: none;
    color: white;
}

.btn-register {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    color: #27ae60;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-register:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #27ae60;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 25%, #16a085 50%, #1abc9c 75%, #48c9b0 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.6s both;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    max-width: 100%;
    min-height: 500px;
    object-fit: contain;
    display: block;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Icon Styles */

.feature-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    background: linear-gradient(135deg, #27ae60, #16a085);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite, pulse 2s ease-in-out infinite;
}

.content-icon {
    font-size: 6rem;
    text-align: center;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
    background: linear-gradient(135deg, #27ae60, #16a085, #1abc9c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite, float 4s ease-in-out infinite;
}

.support-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite, bounce 2s ease-in-out infinite;
}

.error-icon {
    font-size: 8rem;
    text-align: center;
    animation: bounce 1s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite, bounce 1s ease-in-out infinite;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #27ae60 0%, #16a085 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 0;
}

.brand-intro,
.features,
.registration-process,
.advantages,
.faq,
.final-cta {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.mission-values,
.differentiators,
.cta-section {
    background: #f8f9fa;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 25px rgba(39, 174, 96, 0.4));
}

.support-card:hover .support-icon {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 8px 25px rgba(231, 76, 60, 0.4));
}


.content-icon:hover {
    transform: scale(1.1) rotate(-15deg);
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.3));
}

.error-icon:hover {
    transform: scale(1.1) rotate(20deg);
    filter: drop-shadow(0 15px 30px rgba(231, 76, 60, 0.5));
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.content-text h2 {
    margin-bottom: 1.5rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Process Content */
.process-content h3 {
    color: #e74c3c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Advantages */
.advantages-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.faq-item h3 {
    background: linear-gradient(135deg, #27ae60 0%, #16a085 100%);
    color: white;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item h3::before {
    content: '▶';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item h3:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.02);
}

.faq-item h3:hover::before {
    transform: translateY(-50%) rotate(90deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    animation: fadeIn 0.5s ease-out;
}

/* Support Options */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Troubleshooting */
.troubleshooting-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.issue-category {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.issue-category h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.issue-category ul {
    list-style: none;
    padding-left: 0;
}

.issue-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.issue-category li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Error Page */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.error-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.error-text h1 {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Helpful Links */
.helpful-links {
    background: #f8f9fa;
    padding: 4rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Search Options */
.search-suggestion {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 4rem 0;
}

.search-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.search-option {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.search-option:hover {
    transform: translateY(-5px);
}

.search-option h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Privacy/Terms Content */
.privacy-content,
.terms-content,
.disclaimer-content {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 4rem 0;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child,
.terms-section:last-child,
.disclaimer-section:last-child {
    border-bottom: none;
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #2c3e50;
    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 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #27ae60 0%, #16a085 100%);
        flex-direction: column;
        gap: 0;
        width: 100%;
        justify-content: flex-start;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        margin-top: 0.5rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        min-height: 50px;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .auth-buttons {
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #27ae60 0%, #16a085 100%);
        flex-direction: column;
        gap: 0;
        width: 100%;
        justify-content: flex-start;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        padding: 1rem;
    }
    
    .auth-buttons.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .btn-login,
    .btn-register {
        width: 100%;
        max-width: none;
        min-height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .btn-login:last-child,
    .btn-register:last-child {
        margin-bottom: 0;
    }
    
    /* Tablet icon sizes */
    
    .feature-icon {
        font-size: 3.5rem;
    }
    
    .content-icon {
        font-size: 5rem;
    }
    
    .support-icon {
        font-size: 3.5rem;
    }
    
    .error-icon {
        font-size: 7rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .hero-image img {
        min-height: 400px;
        max-height: 600px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-text h1 {
        font-size: 3rem;
    }
    
    .cta-buttons,
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Breadcrumb responsive */
    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item a {
        padding: 0.25rem 0.5rem;
    }
    
    .breadcrumb-current {
        padding: 0.25rem 0.5rem;
    }
    
    .breadcrumb-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.5rem 15px;
    }
    
    .nav-menu a {
        padding: 0.75rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-height: 42px;
    }
    
    /* Mobile icon sizes */
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .content-icon {
        font-size: 4rem;
    }
    
    .support-icon {
        font-size: 3rem;
    }
    
    .error-icon {
        font-size: 6rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .error-text h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll,
    .animate-on-scroll-left,
    .animate-on-scroll-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
        color: #000;
        border: 2px solid #000;
    }
}

/* Print styles */
@media print {
    .nav-menu,
    .auth-buttons,
    .hero-actions,
    .cta-actions,
    .error-actions {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
