/* 
 * aigrannyporn.site - Main Stylesheet
 * Gold/Red Color Scheme - Completely different from previous websites
 */

/* CSS Reset and Base Styles */
:root {
    --primary-color: #F5A623;
    --secondary-color: #D4145A;
    --gradient-start: #F5A623;
    --gradient-end: #D4145A;
    --dark-bg: #1A1A1A;
    --light-bg: #F9F9F9;
    --text-primary: #333333;
    --text-secondary: #777777;
    --text-light: #FFFFFF;
    --border-radius: 12px;
    --box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h1 span, h2 span {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(212, 20, 90, 0.3);
}

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

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 20, 90, 0.4);
}

.secondary-btn:hover {
    background-color: rgba(212, 20, 90, 0.05);
    transform: translateY(-3px);
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 11px;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.hero .content-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-graphic {
    flex: 1;
    position: relative;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: linear-gradient(to bottom right, rgba(245, 166, 35, 0.05), rgba(212, 20, 90, 0.05));
}

.features .content-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* Videos Section */
.videos {
    padding: var(--section-padding);
    background-color: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.video-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: #fff;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.thumb-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
    background: linear-gradient(to bottom right, rgba(245, 166, 35, 0.05), rgba(212, 20, 90, 0.05));
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.category span {
    font-weight: 600;
    color: var(--text-primary);
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background-color: #fff;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-arrow {
    flex: 0 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-svg {
    width: 50px;
    height: 24px;
}

/* Premium Section */
.premium {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    position: relative;
    color: var(--text-light);
}

.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,197.3C672,224,768,224,864,197.3C960,171,1056,117,1152,112C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: 100% auto;
    opacity: 0.3;
}

.premium-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.premium-card h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.premium-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    color: #fff;
    font-size: 1.1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.premium .primary-btn {
    background-color: #fff;
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.premium .primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-text h3 {
    color: #fff;
    margin-bottom: 5px;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.link-group h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.link-group h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Media Queries */
@media (max-width: 991px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .content-wrap {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 20px;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 50px 20px;
        z-index: 100;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .features .content-wrap {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .premium-card {
        padding: 40px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        gap: 30px;
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .premium-card h2 {
        font-size: 2.2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
