/* 777 Rummy - Professional SEO Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf0 50%, #f5f7fa 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #e9ecef;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: 70vh;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 400px;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffd700;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #2a5298;
    color: white;
    border: 2px solid #2a5298;
}

.btn-secondary:hover {
    background-color: #1e3c72;
    color: white;
    border-color: #1e3c72;
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section h2 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-section h3 {
    color: #2a5298;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(30, 60, 114, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    text-align: center;
}

/* Registration Process Styles */
.intro-box {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(42, 82, 152, 0.05) 100%);
    border: 2px solid rgba(30, 60, 114, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.intro-box p {
    font-size: 1.1rem;
    color: #1e3c72;
    margin: 0;
    font-weight: 500;
}

.process-container {
    margin-top: 3rem;
}

.process-step {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    flex-shrink: 0;
}

.step-header h3 {
    color: #1e3c72;
    margin: 0;
    font-size: 1.6rem;
}

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

.step-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(30, 60, 114, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(30, 60, 114, 0.2);
}

.step-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-text h4 {
    color: #1e3c72;
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-text p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Login Process Styles */
.login-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.login-text {
    padding-right: 1rem;
}

.login-text h3 {
    color: #1e3c72;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.login-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 2px;
}

.login-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.login-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.login-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(42, 82, 152, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
}

/* Advantages & Security Styles */
.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.advantages-text {
    padding-right: 1rem;
}

.advantages-text h3 {
    color: #1e3c72;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.advantages-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 2px;
}

.advantages-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.advantages-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advantage-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.advantage-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.9) 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-question {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(42, 82, 152, 0.05) 100%);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e3c72;
    border: none;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3c72;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(42, 82, 152, 0.1) 100%);
    color: #2a5298;
}

.faq-question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    text-align: center;
    border-top: 1px solid rgba(30, 60, 114, 0.1);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #1e3c72;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Registration Process Mobile Styles */
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-icon {
        margin-top: 0;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .intro-box {
        padding: 1.5rem;
    }
    
    /* Login Process Mobile Styles */
    .login-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-text {
        padding-right: 0;
        order: 2;
    }
    
    .login-image {
        order: 1;
    }
    
    .login-image img {
        max-width: 80%;
    }
    
    /* Advantages & Security Mobile Styles */
    .advantages-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-text {
        padding-right: 0;
        order: 2;
    }
    
    .advantages-images {
        order: 1;
        flex-direction: row;
        gap: 1rem;
    }
    
    .advantage-image {
        flex: 1;
    }
    
    .image-caption {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Schema.org structured data styling */
[itemscope] {
    display: block;
}

/* Page Icons and Boxes */
.page-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.content-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 60, 114, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.content-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.content-box h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-left: 1rem;
}

.content-box h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 2px;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(30, 60, 114, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: rgba(30, 60, 114, 0.25);
}

.value-card h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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