* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #8b7355;
    --text-color: #333;
    --light-bg: #fafafa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    text-align: center;
    padding: 30px 20px 20px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.invited-to {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.invited-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.invited-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ornament {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin: clamp(10px, 2vw, 20px) 0;
    opacity: 0.6;
}

.groom-name, .bride-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin: clamp(5px, 1vw, 10px) 0;
    letter-spacing: 2px;
    line-height: 1.2;
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin: clamp(10px, 2vw, 20px) 0;
    font-weight: 400;
}

.wedding-date {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--secondary-color);
    margin-top: clamp(20px, 3vw, 30px);
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.scroll-indicator {
    position: relative;
    text-align: center;
    color: var(--secondary-color);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 300;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    margin-top: auto;
    padding-bottom: 10px;
}

.scroll-indicator span {
    display: block;
    text-transform: lowercase;
}

.arrow {
    font-size: 1rem;
    animation: bounce 2s infinite;
    margin-top: 0;
    opacity: 0.6;
    font-weight: 300;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Quran Verse Section */
.quran-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    text-align: center;
}

.quran-content {
    max-width: 900px;
    margin: 0 auto;
}

.quran-verse-translation {
    margin-bottom: 30px;
}

.quran-verse-translation p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 2;
    color: var(--text-color);
    font-weight: 300;
    font-style: italic;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.quran-reference {
    margin-top: 20px;
}

.quran-reference p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Countdown Section */
.countdown-section {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-date-container {
    margin-top: 50px;
}

.save-date-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow);
}

.save-date-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.save-date-btn:active {
    transform: translateY(0);
}

.calendar-icon {
    font-size: 1.2rem;
}

/* Couple Section */
.couple-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

.couple-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.groom-info, .bride-info {
    text-align: center;
}

.name-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.name-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.name-box .parents {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 15px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.name-box .father, .name-box .mother {
    font-size: 1rem;
    color: var(--text-color);
    margin: 5px 0;
}

/* Location Section */
.location-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.venue-info {
    text-align: center;
    margin-bottom: 30px;
}

.venue-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.venue-info p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.map-container {
    max-width: 1000px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-link {
    text-align: center;
    margin-top: 25px;
}

.map-link-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s;
}

.map-link-btn:hover {
    background: #b8941f;
}

/* Gift Section */
.gift-section {
    padding: 80px 20px;
    background: var(--white);
}

.gift-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

.gift-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.gift-option {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gift-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.gift-option h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.gift-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gift-details p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.gift-details strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 130px;
    font-weight: 500;
    font-size: 0.95rem;
}

.account-item {
    padding: 15px;
    border-radius: 8px;
    background: var(--light-bg);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.account-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.account-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.account-info p {
    width: 100%;
}

.account-item p {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
    overflow: visible;
}

.copyable {
    color: var(--text-color);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.copyable:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
}

.highlight-copy {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
    word-break: keep-all;
}

.highlight-copy:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}

.copyable.copied {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    font-weight: 600;
    animation: copyPulse 0.5s ease;
}

.highlight-copy.copied {
    background: rgba(40, 167, 69, 0.25);
    color: #28a745;
    transform: scale(1.05);
}

@keyframes copyPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Comments Section */
.comments-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.comment-form-container {
    max-width: 700px;
    margin: 0 auto 50px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #b8941f;
}

.comments-list {
    max-width: 700px;
    margin: 0 auto;
}

.no-comments {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    padding: 40px;
}

.comment-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-name {
    font-size: 1.1rem;
    color: var(--text-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.comment-message {
    color: var(--text-color);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 10px 0;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 15px;
}

/* Music Control Button */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: #b8941f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.music-btn:active {
    transform: scale(0.95);
}

.music-btn.playing {
    background: #28a745;
    animation: pulse 2s infinite;
}

.music-btn.playing:hover {
    background: #218838;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.6);
    }
}

.music-icon {
    display: block;
}

.music-status {
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    pointer-events: none;
}

.music-control:hover .music-status {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .couple-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gift-options {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .account-item {
        padding: 12px;
    }
    
    .account-info {
        width: 100%;
    }
    
    .account-item p {
        width: 100%;
        white-space: normal;
        flex-wrap: wrap;
    }
    
    .gift-details strong {
        min-width: auto;
        display: block;
        margin-bottom: 5px;
    }
    
    .account-item p {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .account-item p::-webkit-scrollbar {
        height: 4px;
    }
    
    .account-item p::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .highlight-copy {
        font-size: 1rem;
        white-space: nowrap;
        display: inline-block;
    }
    
    .copyable {
        white-space: nowrap;
    }
    
    .gift-option {
        padding: 25px 20px;
    }
    
    .gift-option h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .gift-details {
        gap: 15px;
    }
    
    .save-date-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
    }
    
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .music-status {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .quran-verse-translation p {
        font-size: 1rem;
        padding: 30px 20px;
        line-height: 1.8;
    }
    
    .quran-section {
        padding: 60px 20px;
    }
    
    .hero {
        height: 100vh;
        max-height: 100vh;
        padding: 20px 15px 15px;
    }
    
    .invited-to {
        margin-bottom: 15px;
    }
    
    .invited-name {
        font-size: 1.3rem;
    }
    
    .ornament {
        font-size: 1.2rem;
        margin: 8px 0;
    }
    
    .groom-name, .bride-name {
        font-size: 1.8rem;
        margin: 5px 0;
    }
    
    .ampersand {
        font-size: 1.3rem;
        margin: 10px 0;
    }
    
    .wedding-date {
        margin-top: 15px;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .scroll-indicator {
        font-size: 0.7rem;
        gap: 6px;
        padding-bottom: 5px;
    }
    
    .arrow {
        font-size: 0.9rem;
    }
}

